<?php
declare(strict_types=1);

use Zlf\Request\Http;

require_once "./../vendor/autoload.php";

$result = Http::post("http://127.0.0.1/index.php",
    [
        'name' => '张三',
        'sex' => '男'
    ],
    [],
    [
        'file' => new CURLFile(__FILE__)
    ]
);
print_r($result);

